package org.cloud.myRuleConfig;

import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.RoundRobinRule;
import org.cloud.config.MyAnnotation01;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@MyAnnotation01
public class MyRoundRule01 {
    @Bean
    public IRule getIRule(){
        return new RoundRobinRule();
    }
}
